<?php

 require("include/top.php");

 if(!empty($_SESSION['sharing']['id'])) {
 $labels= Label::getAllLabels();
 $tpl->assign ('labels',$labels);
 if (!empty($_POST)) 
	require(FORM_PATH."mask_label.form.php");
	$tpl->display("header.tpl");
    $tpl->display("menu.tpl");
	$tpl->display("mask_label.tpl");
	$tpl->display("footer.tpl");

	}
	else { header('Location:login.php');}
require("include/bottom.php");	
?>
